package com.codi.bus.core.service.organ;

import com.codi.base.exception.BaseAppException;
import com.codi.bus.core.resultModel.AssetsResult;
import com.codi.bus.core.resultModel.BaseResult;
import com.codi.bus.core.resultModel.ShareListResult;
import com.codi.bus.exception.BaseException;

/**
 * Created by asus on 2018/6/22.
 */
public interface OrganLocalAssetsService {
    ShareListResult getAllShares(Long userId, Long profileId, Integer requestNum, Integer beginNum) throws BaseException, BaseAppException;

    ShareListResult getAllOrganBao(Long userId, Long profileId, Integer requestNum, Integer beginNum) throws BaseException, BaseAppException;

    // 获取单个基金资产
    BaseResult getFundShares(Long userId, String fundCode, Long profileId) throws BaseException, BaseAppException;

    /**
     * 机构全部资产
     *
     * @param userId
     * @param profileId
     * @return
     */
    AssetsResult getOrganAssets(Long userId, Long profileId);
}
